﻿using System;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using HT.Business;

using HT.Model;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        ReimbursementHandler reimbursementHandler = new ReimbursementHandler();

        Session["UserID"] = "test2";

        //reimbursementHandler.CreateReimbursementWorkflow("lhj",156.3,"play");
        //Response.Write("finished");


        //List<ReimbursementInfo> list = reimbursementHandler.SearchMyReimbursementInfo("lhj");
        //Response.Write(list.Count);


        //List<ReimbursementInfo> list = reimbursementHandler.SearchWaitingReimbursementInfo("lhj");
        //for (int i = 0; i < list.Count; i++)
        //{
        //    Response.Write(list[i].InstanceID.ToString()+" : ");
        //}

        
        //List<string> messageList = reimbursementHandler.SearchMessagesAllowed(new Guid("eeb3c7c1-7a8e-4d78-b70b-065700aea623"));
        //for (int i = 0; i < messageList.Count; i++)
        //{
        //    Response.Write(messageList[i] + " : ");
        //}
    }
}
